Skip to content

Open the samples page from the home page, and drop the page about it - #168

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/remove-samples-page-r7rwfz
Aug 20, 2026
Merged

Open the samples page from the home page, and drop the page about it#168
oblomov-dev merged 1 commit into
mainfrom
claude/remove-samples-page-r7rwfz

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

resources/samples.md described three catalogues it does not own: what each holds, how many apps that is, how to read a row, how to run one. All of it is already on the pages themselves, which carry the search, the filters and a bar linking the other two — so the page here was a stop between the reader and the corpus, and a second copy of four figures somebody else maintains.

What changes

  • The home page button opens https://abap2ui5.github.io/samples/ directly. Everything the removed page said is said there, by the repository that owns it: each catalogue page names its own corpus, carries the search and the filters, and links the other two at its top — so any one of the three is a way in to all of them.
  • docs/resources/samples.md is deleted, together with its sidebar entry under Resources.
  • The four pages that pointed at it — get_started/next.md, get_started/tooling.md, advanced/vscode.md, advanced/mcp_server.md — name the three catalogue pages instead.

One gate less

check:counts existed only to hold the four figures on that page against the catalogues. With the prose copy gone there is nothing left to check, so the gate and scripts/check-corpus-counts.mjs go with it — six gates become five in package.json, check.yml, deploy.yml, AGENTS.md, README.md and CLAUDE.md.

scripts/lib/catalogue.mjs and its test stay: link-samples.mjs parses with it and generate-llms.mjs still counts the three catalogues into llms.txt — which is why CI keeps the two sparse checkouts of SAMPLES.md, with the comment above them rewritten to say what they are actually for now.

Verified

npm run check green, all five. check:samples was run against a real abap2UI5/samples checkout so it reported rather than skipped — 150 samples, 39 pages, 109 links, up to date. The build has no dead internal links, and resources/samples.html is gone from the dist and from llms.txt.


Generated by Claude Code

resources/samples.md described three catalogues it does not own: what each
holds, how many apps that is, how to read a row, how to run one. All of it is
already on the pages themselves, which carry the search, the filters and a bar
linking the other two - so the page here was a stop between the reader and the
corpus, and a second copy of four figures somebody else maintains.

The home page button now opens https://abap2ui5.github.io/samples/ directly.
The four pages that pointed at the removed page name the three catalogue pages
instead, and the sidebar entry is gone.

check:counts existed only to hold those four figures against the catalogues.
With the prose copy gone there is nothing left to check, so the gate and
scripts/check-corpus-counts.mjs go with it - six gates become five in
package.json, both workflows, AGENTS.md and README.md. scripts/lib/catalogue.mjs
stays: link-samples.mjs parses with it and generate-llms.mjs still counts the
three catalogues into llms.txt, which is why CI keeps the two sparse checkouts.

Verified: npm run check green, all five, with an abap2UI5/samples checkout so
check:samples reported rather than skipped.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fqonz6wkm3wGyER57qNwGE
Copilot AI lite review requested due to automatic review settings August 20, 2026 12:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@oblomov-dev
oblomov-dev merged commit 8ad6f12 into main Aug 20, 2026
1 check passed
@oblomov-dev
oblomov-dev deleted the claude/remove-samples-page-r7rwfz branch August 20, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants